home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / compuserve-file-archive / 23 Geos Applications / GETPIT.ARK / UNPIT.DOC < prev   
Internet Message Format  |  1987-05-28  |  2KB

  1. From: hplabs!sdcrdcf!oberon!brand!weber (Allan G. Weber)
  2. Newsgroups: net.sources.mac
  3. Subject: Unpit - Packit file unpacking program
  4. Date: 26 Mar 86 16:52:28 GMT
  5. Organization: U. of So. Calif., Los Angeles
  6.  
  7. This is a Unix program for unpacking Mac Packit files into the component
  8. files.  See message in net.micro.mac for more info.
  9.  
  10.                     Allan Weber
  11.                     Arpa: Weber%Brand@USC-ECL
  12.                     Usenet: ...sdcrdcf!oberon!brand!weber
  13.  
  14. -------------------------------------------------------------------------------
  15.  
  16. 28-Sep-87 
  17.  
  18.     Modified for CP/M by Bob Presswood.  Note that the first 128 
  19. bytes of the .PIT file are ignored.  This algorithm is not functional 
  20. otherwise.  The purpose of this 128 byte block is the provision of
  21. information to the Mac operating system which is of course not
  22. pertinent to CP/M.  Several minor changes were needed.  The one major
  23. change was the addition of a recursive routine to check for existing
  24. files to avoid overwriting.  This overwriting can sometimes be the
  25. result of moving files from an operating system which permits long
  26. file names to one like CP/M where names are quite short.
  27.  
  28. Usage: unpit [-adrc] packit-file.pit
  29.     where -a opts to extract both data and resource forks, with file
  30.              info (.dat, .rsc, .inf - suffixed files)
  31.           -d extracts only data forks (.dat)
  32.           -r extracts only resource forks (.rsc)
  33.           -c extracts only data, with CP/M CR-LF pairs in place of
  34.              Mac CR's (Files are not suffixed, except when the Mac
  35.              file names are.)
  36.